AUTOSTART=AUTOSTARTDIS, NUMROWS=RSV1, SINGLEPRESS=MULTIPRESS
Config
CLKDIV | Clock Divider |
SINGLEPRESS | Single Press 0 (MULTIPRESS): After KEYIF is set and then cleared, scanning will continue. This can give multiple interrupts for the same key press, but allow multiple key presses to be detected. To use this mode for multi-key detection, the ISR should update a section of memory of COLNUM bytes on each interrupt, until key release is detected. After key release, the section of memory where key presses are recorded can be processed. 1 (SINGLEPRESS): After KEYIF has been set and cleared, it will not set again until no key press is detected. This allows faster response since the ISR can start processing data as soon as the KEYIF is set. |
AUTOSTART | Automatically Start 0 (AUTOSTARTDIS): Auto start is disabled 1 (AUTOSTARTEN): Auto start is enabled |
NUMROWS | Number of Rows 0 (RSV1): 1 Row is not supported; defaults to 3 instead 1 (RSV2): 2 Rows are not supported; defaults to 3 instead 2 (ROW3): 3 Rows 3 (ROW4): 4 Rows 4 (ROW5): 5 Rows 5 (ROW6): 6 Rows |
NUMCOLS | Number of Columns |